#include <SoftwareSerial.h>
#define rxPin 52
#define txPin 53

byte data[255];
int index = 0;
// set up a new serial
SoftwareSerial mySerial =  SoftwareSerial(rxPin, txPin);

void setup() {
  // define pin modes for tx, rx, led pins:
  pinMode(rxPin, INPUT);
  pinMode(txPin, OUTPUT);
  mySerial.begin(19200); // set the data rate for the SoftwareSerial port
  Serial.begin(19200); //9600 doesn't work, but 19200 does?
}

void loop()
{
  int i=0;
  while(mySerial.available())
  {
    data[index++] = mySerial.read();
  }
  if(index>0)
  {
    for (i=0; i<index; i++)
    {
      Serial.write(data[i]);
    }
  }
  index = 0;
}
